package com.aliyun.messagemgt.dto.msg;


import com.aliyun.messagemgt.common.dto.base.PageQuery;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * @author
 * @date
 */
@Getter
@Setter
@ToString
@ApiModel("消息记录查询query")
public class MessageRecordQry extends PageQuery {
	@ApiModelProperty("消息任务id")
	private Long msgId;
	@ApiModelProperty("接收渠道类型")
	private Integer pushChannelType;
	@ApiModelProperty("接收渠道编码/名称")
	private String pushChannel;
	@ApiModelProperty("场景编码/名称")
	private String scene;
	@ApiModelProperty("模板编码/名称")
	private String template;
	@ApiModelProperty("开始日期")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date startDate;
	@ApiModelProperty("结束日期")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date endDate;
	@ApiModelProperty("状态")
	private Boolean status;
	@ApiModelProperty("消息源编码/名称")
	private String msgSource;
	@ApiModelProperty("租户code")
	private String tenantCode;
	@ApiModelProperty(value = "租户code列表", name = "tenantCodeList")
	private List<String> tenantCodeList;
}
